home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / program / ddj0897.zip / ISERVER.ZIP / MFCISAPI.ZIP / ISERVER.H < prev    next >
C/C++ Source or Header  |  1997-01-06  |  2KB  |  67 lines

  1. // IServer.h : header file
  2. //
  3.  
  4.  
  5.  
  6. /////////////////////////////////////////////////////////////////////////////
  7. // CIsapiServer command target
  8.  
  9. class CIsapiServer : public CCmdTarget
  10. {
  11.     DECLARE_DYNCREATE(CIsapiServer)
  12.  
  13.     CIsapiServer();           // protected constructor used by dynamic creation
  14.  
  15. // Attributes
  16. public:
  17. // private data
  18. protected:
  19.     EXTENSION_CONTROL_BLOCK *ecb;
  20.  
  21. // Operations
  22. public:
  23.     void SetECB(EXTENSION_CONTROL_BLOCK *e) { ecb=e; };
  24.     DWORD GetRV(void) { return m_retVal; };
  25. // Overrides
  26.     // ClassWizard generated virtual function overrides
  27.     //{{AFX_VIRTUAL(CIsapiServer)
  28.     public:
  29.     virtual void OnFinalRelease();
  30.     //}}AFX_VIRTUAL
  31.  
  32. // Implementation
  33.     virtual ~CIsapiServer();
  34.     
  35.  
  36.     // Generated message map functions
  37.     //{{AFX_MSG(CIsapiServer)
  38.         // NOTE - the ClassWizard will add and remove member functions here.
  39.     //}}AFX_MSG
  40.  
  41.     DECLARE_MESSAGE_MAP()
  42.     // Generated OLE dispatch map functions
  43.     //{{AFX_DISPATCH(CIsapiServer)
  44.     long m_retVal;
  45.     long m_statCode;
  46.     afx_msg BSTR GetMethod();
  47.     afx_msg BSTR GetQueryString();
  48.     afx_msg BSTR GetPathInfo();
  49.     afx_msg BSTR GetPathTranslated();
  50.     afx_msg long GetContentLength();
  51.     afx_msg BSTR GetContent();
  52.     afx_msg BSTR GetContentType();
  53.     afx_msg BOOL Write(const VARIANT FAR& idata);
  54.     afx_msg BOOL ServerVariable(const VARIANT FAR& Variable, VARIANT FAR* Result);                                                         
  55.     afx_msg BOOL WriteLine(const VARIANT FAR& idata);
  56.     afx_msg BOOL WriteByte(const VARIANT FAR& byte);
  57.     afx_msg BOOL ServerDoneSession();
  58.     afx_msg BOOL Redirect(const VARIANT FAR& url);
  59.     afx_msg BOOL SendURL(const VARIANT FAR& url);
  60.     afx_msg BOOL SendHeaders(const VARIANT FAR& Status, const VARIANT FAR& Headers);
  61.     afx_msg BOOL MapURL2Path(VARIANT FAR* urlpath);
  62.     //}}AFX_DISPATCH
  63.     DECLARE_DISPATCH_MAP()
  64.     DECLARE_INTERFACE_MAP()
  65. };
  66. /////////////////////////////////////////////////////////////////////////////
  67.